package com.wudd.config;

import org.springframework.beans.factory.InitializingBean;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component
public class BaseConfig implements InitializingBean {
	@Value("${eureka.client.serviceUrl.defaultZone}")
	private String env;
	@Override
	public void afterPropertiesSet() throws Exception {
		System.out.println("----------"+env+"------------");
		
	}
  
}
